package com.example.medicalzb.domain;

import com.example.medicalzb.domain.superdomain.SuperDomain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 菜单管理实体类
 */
@Data
@ToString
public class Permission extends SuperDomain {
    @JsonIgnore
    private Integer id;//菜单id
    @JsonIgnore
    private Integer pid;//菜单父id
    private String name;
    private String path;
    private String component;
    @JsonIgnore
    private Integer level;//菜单级别
    private List<Permission> children;//子菜单列表

}
